/**
 * 广寒宫
 * 网址:www.guanghangong.xyz
 */
package org.moon.framework.sample.mybatisplus.domain.query;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.moon.framework.autoconfigure.mybatisplus.query.QueryField;
import org.moon.framework.autoconfigure.mybatisplus.query.SqlCondition;
import org.moon.framework.autoconfigure.springmvc.domain.Query;

/**
 * 用户列表查询实体
 * @author ninlong
 */
@ApiModel(value = "用户列表查询实体")
@Setter
@Getter
public class UserQuery extends Query implements Serializable {

	private static final long serialVersionUID = -5321625997983937006L;

	@ApiModelProperty(value = "手机号码")
	@QueryField(condition = SqlCondition.LIKE)
	private String phoneNumber;
	@ApiModelProperty(value = "用户名")
	@QueryField(condition = SqlCondition.LIKE)
	private String userName;
	@ApiModelProperty(value = "状态")
	@QueryField(condition = SqlCondition.EQUAL)
	private Integer status;
	@ApiModelProperty(value = "部门id")
	private Integer deptId;
	
	@ApiModelProperty(value = "租户编号",hidden = true)
	private String tenantCode;
}
